package o;

import java.util.concurrent.Executor;

public final class fka<TResult> implements fjs<TResult> {
    private fjp<TResult> ˊ;
    private final Object ˏ = new Object();
    private Executor ॱ;

    fka(Executor executor, fjp<TResult> o_fjp_TResult) {
        this.ˊ = o_fjp_TResult;
        this.ॱ = executor;
    }

    public final void ॱ(final fjo<TResult> o_fjo_TResult) {
        if (o_fjo_TResult.ˊ() && !o_fjo_TResult.ˎ()) {
            this.ॱ.execute(new Runnable(this) {
                final /* synthetic */ fka ˋ;

                public final void run() {
                    synchronized (this.ˋ.ˏ) {
                        if (this.ˋ.ˊ != null) {
                            this.ˋ.ˊ.ˎ(o_fjo_TResult.ॱ());
                        }
                    }
                }
            });
        }
    }
}
